﻿@using VideoSeller.Business.Data.Enums
@model CabinetTabs

<div class="tabsp">
	<ul>
		<li class="@(Model == CabinetTabs.Online ? "tab_act" : "tab")" onClick="@string.Format("window.location.href = '{0}';", @Url.Action("Online", "Cabinet"))">@Html.GetGlobalResource("CabinetTabs", "Online")</li>
		<li class="@(Model == CabinetTabs.History ? "tab_act" : "tab")" onClick="@string.Format("window.location.href = '{0}';", @Url.Action("History", "Cabinet"))">@Html.GetGlobalResource("CabinetTabs", "History")</li>
		<li class="@(Model == CabinetTabs.Personal ? "tab_act" : "tab")" onClick="@string.Format("window.location.href = '{0}';", @Url.Action("Personal", "Cabinet"))">@Html.GetGlobalResource("CabinetTabs", "Personal")</li>
		<li class="@(Model == CabinetTabs.Finance ? "tab_act" : "tab")" onClick="@string.Format("window.location.href = '{0}';", @Url.Action("Finance", "Cabinet"))">@Html.GetGlobalResource("CabinetTabs", "Finance")</li>
	</ul>
</div>